﻿ 
@using Ema.Control
@model  Ema.Models.XtModel.SubUserPwd

@{
    ViewBag.Title = "修改密码";
    var obj = new {type = "password", @class = "am-form-field"};
}

<div class="am-g  ">
    <div class=" am-u-md-8 am-u-md-centered">
        <div class="am-panel">
            <div class="am-panel-bd">
                @using (Html.BeginForm("pwd", "User", FormMethod.Post, new { @class = "am-form am-form-horizontal" }))
                {
                    @Html.AmTestH(a => a.Pwd, obj)
                    @Html.AmTestH(a => a.Npwd, obj)
                    @Html.AmTestH(a => a.Npwd2, obj)
                   
                    <input   class="am-btn-primary am-btn" value=" 确定" type="submit" />
                }
            </div>
        </div>
        
        
    </div>
</div>

@section scripts    
{
    <script>
        $(function() {
            $(':password').val('');
        })
    </script>
}